package com.sfa.dto;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author
 */
public class Rest implements Serializable
{

    @Id private Integer restId;

    @NotEmpty private String restTitle;

    @NotEmpty private String restRequest;

    @NotEmpty private String restResponse;

    private Date restDate;

    private static final long serialVersionUID = 1L;

    public Integer getRestId()
    {

        return restId;
    }

    public void setRestId(Integer restId)
    {

        this.restId = restId;
    }

    public String getRestTitle()
    {

        return restTitle;
    }

    public void setRestTitle(String restTitle)
    {

        this.restTitle = restTitle;
    }

    public String getRestRequest()
    {

        return restRequest;
    }

    public void setRestRequest(String restRequest)
    {

        this.restRequest = restRequest;
    }

    public String getRestResponse()
    {

        return restResponse;
    }

    public void setRestResponse(String restResponse)
    {

        this.restResponse = restResponse;
    }

    public Date getRestDate()
    {

        return restDate;
    }

    public void setRestDate(Date restDate)
    {

        this.restDate = restDate;
    }
}